
/**
 *  属性
 */

#define kDPAppKey             @"975791789"
#define kDPAppSecret          @"5e4dcaf696394707b9a0139e40074ce9"

#define DockItemW 100   //dock
#define DockItemH 80

#define MenuButtonW 100   //TopMenuBtn
#define MenuButtonH 44

#define DropScrollViewW 100
#define DropScrollViewH 60

#define DropMenuBtnW 130
#define DropMenuBtnH 60

#define DealCellW 250
#define DealCellH 250

#define DetailW 600


#define kFilePath [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES)[0] stringByAppendingPathComponent:@"visitedCityNames.txt"]

// 3.通知名称
// 城市改变的通知
#define kCityChangeNote @"city_change"
// 区域改变的通知
#define kDistrictChangeNote @"district_change"
// 分类改变的通知
#define kCategoryChangeNote @"category_change"
// 排序改变的通知
#define kOrderChangeNote @"order_change"
// 收藏改变的通知
#define kCollectChangeNote @"collect_change"

// 4.全局背景色
#define globalBgColor [UIColor colorWithPatternImage:[UIImage imageNamed:@"bg_deal.png"]]

//全局tintColor
#define globalTintColor [UIColor colorWithRed:0 green:164/255.0 blue:208/255.0 alpha:1.0]


#define kAddAllNotes(method) \
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(method) name:kCityChangeNote object:nil]; \
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(method) name:kCategoryChangeNote object:nil]; \
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(method) name:kDistrictChangeNote object:nil]; \
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(method) name:kOrderChangeNote object:nil];











